﻿using System.Collections.Generic;
using System.Threading.Tasks;
using Tiens.NotificationHub.Models;

namespace Tiens.NotificationHub.Abstractions.Store
{
    public interface IAppConnectionStore
    {
        Task<bool> AddConnectAsync(string userId, string appId, string connectionId);
        Task<bool> RemoveConnectAsync(string groupName, string appId, string connectionId);

        Task<IDictionary<string, AppConnection>> GetConnectionsAsync(string appId);

    }
}
